﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdmin.Master" AutoEventWireup="true" CodeBehind="ChooseSeat.aspx.cs" Inherits="eproject_BusTicketOnline.ChooseSeat" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel1" runat="server">
        <p>
            Bus ID:
            <asp:Label ID="lblBusId" runat="server"></asp:Label>
        </p>
        <p>
            Please choose seat if you like:</p>
        <table style="border-style: double; width: 255px" bgcolor="#FFFFCC" dir="ltr" 
            rules="all">
            <tr>
                <td align="center" colspan="3" style="border-style: groove;">
                    BUS</td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat1" runat="server" GroupName="Seat" Text="No.1" />
                </td>
                <td rowspan="12" style="border-style: groove; width: 720px">
                    &nbsp;</td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat2" runat="server" GroupName="Seat" Text="No.2" />
                </td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat3" runat="server" GroupName="Seat" Text="No.3" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat4" runat="server" GroupName="Seat" Text="No.4" />
                </td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat5" runat="server" GroupName="Seat" Text="No.5" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat6" runat="server" GroupName="Seat" Text="No.6" />
                </td>
            </tr>
            <tr>
                <td align="center" style="width: 458px">
                    &lt;- Exit Door</td>
                <td align="right" style="width: 407px">
                    Exit Door-&gt;</td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat7" runat="server" GroupName="Seat" Text="No.7" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat8" runat="server" GroupName="Seat" Text="No.8" />
                </td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat9" runat="server" GroupName="Seat" Text="No.9" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat10" runat="server" GroupName="Seat" Text="No.10" />
                </td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat11" runat="server" GroupName="Seat" Text="No.11" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat12" runat="server" GroupName="Seat" Text="No.12" />
                </td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat13" runat="server" GroupName="Seat" Text="No.13" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat14" runat="server" GroupName="Seat" Text="No.14" />
                </td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat15" runat="server" GroupName="Seat" Text="No.15" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat16" runat="server" GroupName="Seat" Text="No.16" />
                </td>
            </tr>
            <tr>
                <td align="center" style="width: 458px">
                    &lt;- Exit Door</td>
                <td align="right" style="width: 407px">
                    Exit Door -&gt;</td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat17" runat="server" GroupName="Seat" Text="No.17" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat18" runat="server" GroupName="Seat" Text="No.18" />
                </td>
            </tr>
            <tr>
                <td align="center" style="border-style: groove; width: 458px">
                    <asp:RadioButton ID="seat19" runat="server" GroupName="Seat" Text="No.19" />
                </td>
                <td align="center" style="border-style: groove; width: 407px">
                    <asp:RadioButton ID="seat20" runat="server" GroupName="Seat" Text="No.20" />
                </td>
            </tr>
        </table>
        <br />
        <asp:Button ID="btnChoose" runat="server" onclick="btnChoose_Click" 
            style="margin-left: 107px" Text="Choose this seat" />
    </asp:Panel>
    <p>
        them SeatId vao bang busdetail.type:string nvarchar(10)</p>
</asp:Content>
